package cn.wolfcode.wolf2w.strategy.service;

import cn.wolfcode.wolf2w.strategy.api.domain.StrategyCatalog;
import cn.wolfcode.wolf2w.strategy.query.StrategyCatalogQuery;
import cn.wolfcode.wolf2w.strategy.vo.CatalogVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 攻略分类Service接口
 * 
 * @author dafei
 * @date 2023-11-22
 */
public interface IStrategyCatalogService extends IService<StrategyCatalog>{
    /**
    * 分页
    * @param qo
    * @return
    */
    IPage<StrategyCatalog> queryPage(StrategyCatalogQuery qo);

    /**
     * 分组下拉框集合
     * @return
     */
    List<CatalogVO> groupList();

    /**
     * 查询指定目的地下攻略分类集合
     * @param destId
     * @return
     */
    List<StrategyCatalog> queryCatalogList(Long destId);
}
